package skcomms.NateOnBiz.activity;

import com.skcc.alopex.v2.common.AlopexApplication;
import com.skcc.alopex.v2.common.AlopexManager;

//import etc.skcc.alopex.v2.extension.screen.MessageList;

import skcomms.NateOnBiz.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;

//import com.skcc.alopex.v2.common.AlopexApplication;
//import com.skcc.alopex.v2.common.AlopexManager;
//import com.skcc.alopex.v2.screen.AbstractScreen;

/**
 * @author skcc
 *
 */
public class TestActivity extends Activity {

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Log.d("BK", "OnCreate");

		setContentView(R.layout.activity_test);

		Button btn = (Button) findViewById(R.id.buttonBk1x);
		btn.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub

				Intent intent = new Intent(getBaseContext(),
						IntroActivity.class);
				startActivity(intent);

			}
		});

		
		Button btn2 = (Button) findViewById(R.id.buttonBk2x);
		btn2.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {

				if (AlopexApplication.isRunning(getBaseContext())) {
					Log.d("BK", "Alopex is running.");
				}
				// AlopexManager
//				Intent intent = new Intent(getBaseContext(),
//						AlopexManager.class);
				
				Intent intent = new Intent(getBaseContext(),
						NateOnBizActivity.class);

				startActivity(intent);

			}
		});
		
	}
}
